package Chain_of_Responsibility_Pattern;

/**
 * 副经理
 */
public class Manager extends abstractHandler{
    public Manager() {
        super(0,abstractHandler.NUM_THREE);
    }

    @Override
    protected void handLeaveResponse(LeaveResponse leaveResponse) {
        System.out.println(leaveResponse.getName() + "请假" + leaveResponse.getNum() + "天" + "请假原因为" + leaveResponse.getContent());
        System.out.println("副经理同意审批");
    }
}
